<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="utf-8" />
    <title>{block name="title"}{/block}{:config('basic.title')}</title>
    <meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" name="viewport" />
    <meta content="" name="keywords" content="{:config('basic.keywords')}" />
    <meta content="" name="description" content="{:config('basic.description')}" />
    <meta content="" name="author" />

    <!-- ================== BEGIN BASE CSS STYLE ================== -->
    <link href="/static/template/assets/css/material/app.min.css" rel="stylesheet" />
    <!-- ================== END BASE CSS STYLE ================== -->
    <style>
        img {
            max-width: 100%;
        }

        table td,
        th {
            white-space: nowrap;
        }
    </style>
    {block name="head"}{/block}
</head>

<body class="">
    <!-- begin #page-container -->
    <div id="page-container" class="page-container page-sidebar-fixed page-header-fixed">
        <!-- begin #header -->
        <div id="header" class="header navbar-default">
            <!-- begin navbar-header -->
            <div class="navbar-header">
                <a href="{:url('admin/index/index')}" class="navbar-brand">
                    <img src="{:config('basic.logo')}" alt="{:config('basic.title')}" class="mr-2">
                    <b>{:config('basic.title')}</b></a>
                <button type="button" class="navbar-toggle" data-click="sidebar-toggled">
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                </button>
            </div>
            <!-- end navbar-header -->
            <!-- begin header-nav -->
            <!-- <ul class="navbar-nav navbar-right">
                <li class="dropdown navbar-user">
                    <a href="#" class="dropdown-toggle" data-toggle="dropdown">
                        <div class="image image-icon bg-black text-grey-darker">
                            <img src="头像" alt="">
                        </div>
                        <span class="d-none d-md-inline">
                            用户名
                        </span> <b class="caret"></b>
                    </a>
                    <div class="dropdown-menu dropdown-menu-right">
                        <a href="{:url('admin/admin/edit',['id'=>1])}" class="dropdown-item">修改密码</a>
                        <div class="dropdown-divider"></div>
                        <a href="{:url('admin/login/out')}" class="dropdown-item">退出</a>
                    </div>
                </li>
            </ul> -->
            <!-- end header-nav -->
        </div>
        <!-- end #header -->

        <!-- begin #sidebar -->
        <div id="sidebar" class="sidebar">
            <!-- begin sidebar scrollbar -->
            <div data-scrollbar="true" data-height="100%">
                <!-- begin sidebar nav -->
                <ul class="nav">

                    <li class="{$addons_name=='index'?'active':''}">
                        <a href="/">
                            <span>
                                首页
                            </span>
                        </a>
                    </li>
                    <li class="{$addons_name=='m3u8'?'active':''}">
                        <a href="{:addons_url('m3u8://index/index')}">
                            <span>
                                M3U8播放器
                            </span>
                        </a>
                    </li>
                    <li class="{$addons_name=='happy'?'active':''}">
                        <a href="{:addons_url('happy://index/index')}">
                            <span>
                                Happy一下
                            </span>
                        </a>
                    </li>
                    <li class="{$addons_name=='onlineflv'?'active':''}">
                        <a href="{:addons_url('onlineflv://index/index')}">
                            <span>
                                在线VIP视频解析
                            </span>
                        </a>
                    </li>
                    <li class="{$addons_name=='tools'?'active':''}">
                        <a href="{:addons_url('tools://index/index')}">
                            <span>
                                开发者工具
                            </span>
                        </a>
                    </li>
                    <!-- begin sidebar minify button -->
                    <li><a href="javascript:;" class="sidebar-minify-btn" data-click="sidebar-minify"><i
                                class="fa fa-angle-double-left"></i></a></li>
                    <!-- end sidebar minify button -->
                </ul>
                <!-- end sidebar nav -->
            </div>
            <!-- end sidebar scrollbar -->
        </div>
        <div class="sidebar-bg"></div>
        <!-- end #sidebar -->

        <!-- begin #content -->
        <div id="content" class="content">
            <!-- begin panel -->
            {block name="body"}{/block}
            <!-- end panel -->
        </div>
        <!-- end #content -->

        <!-- begin scroll to top btn -->
        <a href="javascript:;" class="btn btn-icon btn-circle btn-success btn-scroll-to-top fade"
            data-click="scroll-top"><i class="fa fa-angle-up"></i></a>
        <!-- end scroll to top btn -->
    </div>
    <!-- end page container -->

</body>

<!-- ================== BEGIN BASE JS ================== -->
<script src="/static/template/assets/js/app.min.js"></script>
<script src="/static/template/assets/js/theme/material.min.js"></script>
<script src="/static/js/vue.js"></script>
<script src="/static/js/jquery.form.min.js"></script>
<script src="/static/layer/layer.js"></script>
<script src="/static/js/jsu.js"></script>
{block name="script"}{/block}
</html>